package cn.stylefeng.guns.modular.hx.storage.mapper;

import cn.stylefeng.guns.modular.hx.storage.entity.TurnoverContainer;
import cn.stylefeng.guns.modular.hx.storage.model.params.TurnoverContainerParam;
import cn.stylefeng.guns.modular.hx.storage.model.result.TurnoverContainerResult;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 * 周转容器管理 Mapper 接口
 * </p>
 *
 * @author ZHDW
 * @since 2024-04-10
 */
public interface TurnoverContainerMapper extends BaseMapper<TurnoverContainer> {

    /**
     * 获取列表
     *
     * @author ZHDW
     * @Date 2024-04-10
     */
    List<TurnoverContainerResult> customList(@Param("paramCondition") TurnoverContainerParam paramCondition);

    /**
     * 获取map列表
     *
     * @author ZHDW
     * @Date 2024-04-10
     */
    List<Map<String, Object>> customMapList(@Param("paramCondition") TurnoverContainerParam paramCondition);

    /**
     * 获取分页实体列表
     *
     * @author ZHDW
     * @Date 2024-04-10
     */
    Page<TurnoverContainerResult> customPageList(@Param("page") Page page, @Param("paramCondition") TurnoverContainerParam paramCondition, @Param("condition") String condition);

    /**
     * 获取分页map列表
     *
     * @author ZHDW
     * @Date 2024-04-10
     */
    Page<Map<String, Object>> customPageMapList(@Param("page") Page page, @Param("paramCondition") TurnoverContainerParam paramCondition);


    int t3(@Param("condition")String packNumber);
}
